<template>
  <section class="layout">
    <app-header></app-header>
    <app-navbar :navbar="homeStore.navBars"></app-navbar>
    <!--页面内容的占位-->
    <slot></slot>
    <app-footer></app-footer>
  </section>
</template>

<script setup lang="ts" name="default">
import { useHomeStore } from "~/store/home";
const homeStore = useHomeStore()
homeStore.getHomeData()
</script>

<style scoped lang="less">


</style>
